<?php 

Class indexController extends appController
{
	
	public function index()
	{
		$cache_id = DEFAULT_LANG;
		
		$cache_id = sprintf('%X', crc32($cache_id));
		//首页轮播
		if (!$this->is_cached('index.html',$cache_id))
		{
			$app=Model('app');
			$this->assign_global();
			$index=Model('index');
			
			//$cat1=$index->get_child_list('service');
			$this->assign('cat1',$cat1);
			
			//$cat2=$index->get_child_list('photo');
			$this->assign('cat2',$cat2);
			
			//$cat3=$index->get_page_summary('contactus');
			$this->assign('cat3',$cat3);
			
			//$cat4=$index->get_art_list('news');
			$this->assign('cat4',$cat4);
			
			//$art1=$index->get_article_page
		}
		
		
        $this->display('index.html',$cache_id);
	}
}